const mongoose=require('mongoose')

mongoose.connect('mongodb://123.56.102.176:27017/Second-hand-books-on-campus')

const conn=mongoose.connection

conn.on('open',()=>{
    console.log('连接成功');
})

module.exports=mongoose